package com.hualude.roadsign.dto;

import com.hualude.roadsign.model.ActorEntity;

/**
 * Created by xu-jiaHui on 2017/4/7.
 */
public class ActorDto {
    private Integer actorId;
    private String actorName;
    private String actorRemarks;

    private Integer userId; //用户id

    public ActorDto() {
    }

    public ActorDto(Integer actorId, String actorName, String actorRemarks) {
        this.actorId = actorId;
        this.actorName = actorName;
        this.actorRemarks = actorRemarks;
    }

    public ActorDto(Integer actorId, String actorName) {
        this.actorId = actorId;
        this.actorName = actorName;
    }


    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getActorId() {
        return actorId;
    }

    public void setActorId(Integer actorId) {
        this.actorId = actorId;
    }

    public String getActorName() {
        return actorName;
    }

    public void setActorName(String actorName) {
        this.actorName = actorName;
    }

    public String getActorRemarks() {
        return actorRemarks;
    }

    public void setActorRemarks(String actorRemarks) {
        this.actorRemarks = actorRemarks;
    }

    public ActorEntity toBean() {
        ActorEntity actorEntity = new ActorEntity();
        actorEntity.setActorName(actorName);
        actorEntity.setActorRemarks(actorRemarks);
        return actorEntity;
    }
}
